package com.xr.system.teacher;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan(basePackages = "com.xr.system.teacher.mapper")
@EnableFeignClients(basePackages = "com.xr.feignApi")
@ComponentScan(basePackages = "com.xr")
public class ServiceTeacher {

    public static void main(String[] args) {
        SpringApplication.run(ServiceTeacher.class, args);
        System.out.println("在线接口文档地址：http://127.0.0.1:2000/doc.html");
    }

}
